package com.waverider.promotion.biz.dao;

import java.util.List;

import com.waverider.promotion.domain.PromotionGoodsAssDO;

public interface PromotionGoodsAssDAO {

	void insert(PromotionGoodsAssDO promotionGoodsAssDO);

	int update(PromotionGoodsAssDO promotionGoodsAssDO);

	int deleteById(Long id);

	int deleteByShopId(Long shopId);

	List<PromotionGoodsAssDO> queryByShopId(Long shopId);

	List<PromotionGoodsAssDO> queryByPromotionId(Long promotionId);

}
